package com.nf.mappers;
import com.nf.entity.House;
import com.nf.entity.HouseInfo;
import com.nf.entity.Student;
import com.nf.entity.StudentHouseInfo;
import java.util.List;

public interface StudentMapper
{
    //通过Id查找学生
    public Student findStudentById(int studId);
   //public Map<String,Object> findStudentById(int studId);
    ///查询所有学生
    public List<Student> findallStudents();
    //添加学生
    public void insertStudent(Student student);
    //修改学生
    public void updateStudent(Student student);
     //查询学生入住情况
    public List<StudentHouseInfo> getAllStudentHouseInfo(Integer hid);
    //查询所有的宿舍信息
    public List<HouseInfo> getAllhouse();
    //通过宿舍号查询学生
    public List<Student> getStudentByhhouseId(int houseid);
    //查询宿舍明细
    public List<House> getAllhouseDetail();





}
